home *** CD-ROM | disk | FTP | other *** search
/ CD Actual 3 / CD ACTUAL 3.iso / linux / docs / linux-do / programm / lpg-0.4 / lpg-0 / LPG / graphic.tex / node29_ct.html < prev    next >
LaTeX Document  |  1995-03-28  |  2.6 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: LaTeX Document (document/latex).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert LaTeX Document (document/latex) magic Supported
90% dexvert Hypertext Markup Language File (text/html) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file HTML document text default (weak)
99% file LaTeX document text default
98% file exported SGML document text default
97% file exported SGML document, ASCII text default
80% TrID HyperText Markup Language with DOCTYPE default
19% TrID HyperText Markup Language default
100% checkBytes Printable ASCII default
100% perlTextCheck Likely Text (Perl) default
100% siegfried fmt/281 LaTeX (Subdocument) default
100% gt2 HTML (Hyper Text Markup Language) Datei default
100% detectItEasy Format: Plain text[LF] default
100% xdgMime text/html default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3c 21 44 4f 43 54 59 50 | 45 20 48 54 4d 4c 20 50 |<!DOCTYP|E HTML P|
|00000010| 55 42 4c 49 43 20 22 2d | 2f 2f 57 33 43 2f 2f 44 |UBLIC "-|//W3C//D|
|00000020| 54 44 20 48 54 4d 4c 20 | 33 2e 32 20 46 69 6e 61 |TD HTML |3.2 Fina|
|00000030| 6c 2f 2f 65 6e 22 3e 0a | 0a 3c 21 2d 2d 43 6f 6e |l//en">.|.<!--Con|
|00000040| 76 65 72 74 65 64 20 77 | 69 74 68 20 4c 61 54 65 |verted w|ith LaTe|
|00000050| 58 32 48 54 4d 4c 20 32 | 30 32 32 20 28 52 65 6c |X2HTML 2|022 (Rel|
|00000060| 65 61 73 65 64 20 4a 61 | 6e 75 61 72 79 20 31 2c |eased Ja|nuary 1,|
|00000070| 20 32 30 32 32 29 20 2d | 2d 3e 0a 3c 48 54 4d 4c | 2022) -|->.<HTML|
|00000080| 20 6c 61 6e 67 3d 22 65 | 6e 22 3e 0a 3c 48 45 41 | lang="e|n">.<HEA|
|00000090| 44 3e 0a 3c 54 49 54 4c | 45 3e 43 6f 6e 74 65 6e |D>.<TITL|E>Conten|
|000000a0| 74 73 20 6f 66 20 43 6c | 65 61 72 20 57 69 6e 64 |ts of Cl|ear Wind|
|000000b0| 6f 77 20 61 6e 64 20 4c | 69 6e 65 73 3c 2f 54 49 |ow and L|ines</TI|
|000000c0| 54 4c 45 3e 0a 0a 3c 4d | 45 54 41 20 48 54 54 50 |TLE>..<M|ETA HTTP|
|000000d0| 2d 45 51 55 49 56 3d 22 | 43 6f 6e 74 65 6e 74 2d |-EQUIV="|Content-|
|000000e0| 54 79 70 65 22 20 43 4f | 4e 54 45 4e 54 3d 22 74 |Type" CO|NTENT="t|
|000000f0| 65 78 74 2f 68 74 6d 6c | 3b 20 63 68 61 72 73 65 |ext/html|; charse|
|00000100| 74 3d 75 74 66 2d 38 22 | 3e 0a 3c 4d 45 54 41 20 |t=utf-8"|>.<META |
|00000110| 4e 41 4d 45 3d 22 76 69 | 65 77 70 6f 72 74 22 20 |NAME="vi|ewport" |
|00000120| 43 4f 4e 54 45 4e 54 3d | 22 77 69 64 74 68 3d 64 |CONTENT=|"width=d|
|00000130| 65 76 69 63 65 2d 77 69 | 64 74 68 2c 20 69 6e 69 |evice-wi|dth, ini|
|00000140| 74 69 61 6c 2d 73 63 61 | 6c 65 3d 31 2e 30 22 3e |tial-sca|le=1.0">|
|00000150| 0a 3c 4d 45 54 41 20 4e | 41 4d 45 3d 22 47 65 6e |.<META N|AME="Gen|
|00000160| 65 72 61 74 6f 72 22 20 | 43 4f 4e 54 45 4e 54 3d |erator" |CONTENT=|
|00000170| 22 4c 61 54 65 58 32 48 | 54 4d 4c 20 76 32 30 32 |"LaTeX2H|TML v202|
|00000180| 32 22 3e 0a 0a 3c 4c 49 | 4e 4b 20 52 45 4c 3d 22 |2">..<LI|NK REL="|
|00000190| 53 54 59 4c 45 53 48 45 | 45 54 22 20 48 52 45 46 |STYLESHE|ET" HREF|
|000001a0| 3d 22 67 72 61 70 68 69 | 63 2e 63 73 73 22 3e 0a |="graphi|c.css">.|
|000001b0| 0a 3c 4c 49 4e 4b 20 52 | 45 4c 3d 22 6e 65 78 74 |.<LINK R|EL="next|
|000001c0| 22 20 48 52 45 46 3d 22 | 6e 6f 64 65 33 30 5f 6d |" HREF="|node30_m|
|000001d0| 6e 2e 68 74 6d 6c 22 3e | 0a 3c 4c 49 4e 4b 20 52 |n.html">|.<LINK R|
|000001e0| 45 4c 3d 22 70 72 65 76 | 69 6f 75 73 22 20 48 52 |EL="prev|ious" HR|
|000001f0| 45 46 3d 22 6e 6f 64 65 | 32 34 5f 6d 6e 2e 68 74 |EF="node|24_mn.ht|
|00000200| 6d 6c 22 3e 0a 3c 4c 49 | 4e 4b 20 52 45 4c 3d 22 |ml">.<LI|NK REL="|
|00000210| 75 70 22 20 48 52 45 46 | 3d 22 6e 6f 64 65 31 5f |up" HREF|="node1_|
|00000220| 6d 6e 2e 68 74 6d 6c 22 | 3e 0a 3c 4c 49 4e 4b 20 |mn.html"|>.<LINK |
|00000230| 52 45 4c 3d 22 6e 65 78 | 74 22 20 48 52 45 46 3d |REL="nex|t" HREF=|
|00000240| 22 6e 6f 64 65 33 30 5f | 6d 6e 2e 68 74 6d 6c 22 |"node30_|mn.html"|
|00000250| 3e 0a 3c 2f 48 45 41 44 | 3e 0a 20 0a 3c 42 4f 44 |>.</HEAD|>. .<BOD|
|00000260| 59 20 62 67 63 6f 6c 6f | 72 3d 22 23 66 66 66 66 |Y bgcolo|r="#ffff|
|00000270| 66 66 22 20 74 65 78 74 | 3d 22 23 30 30 30 30 30 |ff" text|="#00000|
|00000280| 30 22 20 6c 69 6e 6b 3d | 22 23 39 39 34 34 45 45 |0" link=|"#9944EE|
|00000290| 22 20 76 6c 69 6e 6b 3d | 22 23 30 30 30 30 66 66 |" vlink=|"#0000ff|
|000002a0| 22 20 61 6c 69 6e 6b 3d | 22 23 30 30 66 66 30 30 |" alink=|"#00ff00|
|000002b0| 22 3e 0a 0a 3c 48 31 3e | 3c 41 20 49 44 3d 22 53 |">..<H1>|<A ID="S|
|000002c0| 45 43 54 49 4f 4e 30 30 | 31 39 30 30 30 30 30 30 |ECTION00|19000000|
|000002d0| 30 30 30 30 30 30 30 30 | 30 30 22 3e 0a 43 6c 65 |00000000|00">.Cle|
|000002e0| 61 72 20 57 69 6e 64 6f | 77 20 61 6e 64 20 4c 69 |ar Windo|w and Li|
|000002f0| 6e 65 73 3c 2f 41 3e 0a | 3c 2f 48 31 3e 0a 0a 3c |nes</A>.|</H1>..<|
|00000300| 50 3e 0a 0a 3c 55 4c 3e | 0a 3c 4c 49 3e 3c 54 54 |P>..<UL>|.<LI><TT|
|00000310| 3e 69 6e 74 20 65 72 61 | 73 65 28 29 3c 2f 54 54 |>int era|se()</TT|
|00000320| 3e 20 3c 41 20 49 44 3d | 22 66 75 6e 5f 65 72 61 |> <A ID=|"fun_era|
|00000330| 73 65 22 3e 3c 2f 41 3e | 0a 3c 42 52 3e 20 20 20 |se"></A>|.<BR> |
|00000340| 20 20 20 20 20 3c 54 54 | 3e 69 6e 74 20 77 65 72 | <TT|>int wer|
|00000350| 61 73 65 28 77 69 6e 29 | 3c 2f 54 54 3e 20 3c 41 |ase(win)|</TT> <A|
|00000360| 20 49 44 3d 22 66 75 6e | 5f 77 65 72 61 73 65 22 | ID="fun|_werase"|
|00000370| 3e 3c 2f 41 3e 0a 3c 42 | 52 3e 20 20 20 20 20 20 |></A>.<B|R> |
|00000380| 20 20 3c 42 3e 77 65 72 | 61 73 65 28 2e 2e 2e 29 | <B>wer|ase(...)|
|00000390| 3c 2f 42 3e 20 61 6e 64 | 20 3c 42 3e 65 72 61 73 |</B> and| <B>eras|
|000003a0| 65 28 29 3c 2f 42 3e 20 | 77 69 6c 6c 20 63 6f 70 |e()</B> |will cop|
|000003b0| 79 20 62 6c 61 6e 6b 73 | 20 74 6f 20 65 76 65 72 |y blanks| to ever|
|000003c0| 79 20 70 6f 73 69 74 69 | 6f 6e 0a 20 20 20 20 20 |y positi|on. |
|000003d0| 20 20 20 6f 6e 20 74 68 | 65 20 77 69 6e 64 6f 77 | on th|e window|
|000003e0| 20 3c 54 54 3e 77 69 6e | 3c 2f 54 54 3e 20 6f 72 | <TT>win|</TT> or|
|000003f0| 20 3c 49 3e 73 74 64 73 | 63 72 3c 2f 49 3e 2e 20 | <I>stds|cr</I>. |
|00000400| 46 6f 72 20 69 6e 73 74 | 61 6e 63 65 2c 20 77 68 |For inst|ance, wh|
|00000410| 65 6e 20 79 6f 75 20 73 | 65 74 0a 20 20 20 20 20 |en you s|et. |
|00000420| 20 20 20 63 6f 6c 6f 72 | 20 61 74 74 72 69 62 75 | color| attribu|
|00000430| 74 65 73 20 74 6f 20 61 | 20 77 69 6e 64 6f 77 20 |tes to a| window |
|00000440| 61 6e 64 20 63 61 6c 6c | 20 3c 42 3e 77 65 72 61 |and call| <B>wera|
|00000450| 73 65 28 29 3c 2f 42 3e | 20 74 68 65 20 77 69 6e |se()</B>| the win|
|00000460| 64 6f 77 20 77 6f 75 6c | 64 20 62 65 0a 20 20 20 |dow woul|d be. |
|00000470| 20 20 20 20 20 63 6f 6c | 6f 72 65 64 2e 20 49 20 | col|ored. I |
|00000480| 68 61 64 20 73 6f 6d 65 | 20 70 72 6f 62 6c 65 6d |had some| problem|
|00000490| 73 20 77 69 74 68 20 43 | 4f 4c 4f 52 5f 50 41 49 |s with C|OLOR_PAI|
|000004a0| 52 53 20 77 68 65 6e 20 | 49 20 64 65 66 69 6e 65 |RS when |I define|
|000004b0| 64 20 6f 74 68 65 72 0a | 20 20 20 20 20 20 20 20 |d other.| |
|000004c0| 61 74 74 72 69 62 75 74 | 65 73 20 74 68 65 6e 20 |attribut|es then |
|000004d0| 62 6c 61 63 6b 20 6f 6e | 20 77 68 69 74 65 20 73 |black on| white s|
|000004e0| 6f 20 49 20 77 72 6f 74 | 65 20 6d 79 20 6f 77 6e |o I wrot|e my own|
|000004f0| 20 65 72 61 73 65 20 66 | 75 6e 63 74 69 6f 6e 20 | erase f|unction |
|00000500| 28 74 68 69 73 20 69 73 | 0a 20 20 20 20 20 20 20 |(this is|. |
|00000510| 20 61 20 6c 6f 77 20 6c | 65 76 65 6c 20 61 63 63 | a low l|evel acc|
|00000520| 65 73 73 20 74 6f 20 74 | 68 65 20 57 49 4e 44 4f |ess to t|he WINDO|
|00000530| 57 20 73 74 72 75 63 74 | 75 72 65 29 3a 0a 0a 3c |W struct|ure):..<|
|00000540| 50 3e 0a 3c 42 52 3e 0a | 3c 49 4d 47 0a 20 20 53 |P>.<BR>.|<IMG. S|
|00000550| 54 59 4c 45 3d 22 22 20 | 53 52 43 3d 22 69 6d 67 |TYLE="" |SRC="img|
|00000560| 32 34 2e 70 6e 67 22 0a | 20 41 4c 54 3d 22 5c 62 |24.png".| ALT="\b|
|00000570| 65 67 69 6e 7b 74 73 63 | 72 65 65 6e 7d 0a 5c 62 |egin{tsc|reen}.\b|
|00000580| 65 67 69 6e 7b 76 65 72 | 62 61 74 69 6d 7d 76 6f |egin{ver|batim}vo|
|00000590| 69 64 20 4e 65 77 43 6c | 65 61 72 28 57 49 4e 44 |id NewCl|ear(WIND|
|000005a0| 4f 57 20 2a 77 69 6e 29 | 0a 7b 0a 69 6e 74 20 79 |OW *win)|.{.int y|
|000005b0| 2c 78 3b 66 6f 72 2e 2e | 2e 0a 2e 2e 2e 20 77 69 |,x;for..|..... wi|
|000005c0| 6e 20 2d 26 67 74 3b 20 | 5f 63 75 72 78 20 3d 20 |n -&gt; |_curx = |
|000005d0| 77 69 6e 20 2d 26 67 74 | 3b 20 5f 63 75 72 79 20 |win -&gt|; _cury |
|000005e0| 3d 20 30 3b 0a 74 6f 75 | 63 68 77 69 6e 28 77 69 |= 0;.tou|chwin(wi|
|000005f0| 6e 29 3b 0a 7d 5c 65 6e | 64 7b 76 65 72 62 61 74 |n);.}\en|d{verbat|
|00000600| 69 6d 7d 0a 5c 65 6e 64 | 7b 74 73 63 72 65 65 6e |im}.\end|{tscreen|
|00000610| 7d 22 3e 0a 3c 42 52 3e | 0a 0a 3c 50 3e 0a 54 68 |}">.<BR>|..<P>.Th|
|00000620| 65 20 70 72 6f 62 6c 65 | 6d 20 69 73 2c 20 74 68 |e proble|m is, th|
|00000630| 61 74 20 6e 63 75 72 73 | 65 73 20 73 6f 6d 65 74 |at ncurs|es somet|
|00000640| 69 6d 65 73 20 6d 61 6b | 65 73 20 6e 6f 20 75 73 |imes mak|es no us|
|00000650| 65 20 6f 66 20 74 68 65 | 20 77 69 6e 64 6f 77 20 |e of the| window |
|00000660| 0a 20 20 20 20 20 20 20 | 20 61 74 74 72 69 62 75 |. | attribu|
|00000670| 74 65 73 20 77 68 65 6e | 0a 20 20 20 20 20 20 20 |tes when|. |
|00000680| 20 62 6c 61 6e 6b 69 6e | 67 20 74 68 65 20 73 63 | blankin|g the sc|
|00000690| 72 65 65 6e 2e 20 46 6f | 72 20 69 6e 73 74 61 6e |reen. Fo|r instan|
|000006a0| 63 65 2c 20 69 6e 20 3c | 49 3e 6c 69 62 5f 63 6c |ce, in <|I>lib_cl|
|000006b0| 72 74 6f 65 6f 6c 2e 63 | 3c 2f 49 3e 2c 20 69 73 |rtoeol.c|</I>, is|
|000006c0| 20 0a 20 20 20 20 20 20 | 20 20 42 4c 41 4e 4b 20 | . | BLANK |
|000006d0| 64 65 66 69 6e 65 64 20 | 61 73 0a 3c 42 52 3e 0a |defined |as.<BR>.|
|000006e0| 3c 49 4d 47 0a 20 20 53 | 54 59 4c 45 3d 22 22 20 |<IMG. S|TYLE="" |
|000006f0| 53 52 43 3d 22 69 6d 67 | 32 35 2e 70 6e 67 22 0a |SRC="img|25.png".|
|00000700| 20 41 4c 54 3d 22 5c 62 | 65 67 69 6e 7b 74 73 63 | ALT="\b|egin{tsc|
|00000710| 72 65 65 6e 7d 0a 5c 62 | 65 67 69 6e 7b 76 65 72 |reen}.\b|egin{ver|
|00000720| 62 61 74 69 6d 7d 2e 2e | 2e 22 3e 0a 3c 42 52 3e |batim}..|.">.<BR>|
|00000730| 0a 73 6f 20 74 68 61 74 | 20 74 68 65 20 6f 74 68 |.so that| the oth|
|00000740| 65 72 20 77 69 6e 64 6f | 77 20 61 74 74 72 69 62 |er windo|w attrib|
|00000750| 75 74 65 73 20 67 65 74 | 20 6c 6f 73 74 20 77 68 |utes get| lost wh|
|00000760| 69 6c 65 20 74 68 65 20 | 6c 69 6e 65 20 69 73 20 |ile the |line is |
|00000770| 0a 20 20 20 20 20 20 20 | 20 65 72 61 73 65 64 2e |. | erased.|
|00000780| 20 0a 0a 3c 50 3e 0a 3c | 2f 4c 49 3e 0a 3c 4c 49 | ..<P>.<|/LI>.<LI|
|00000790| 3e 3c 54 54 3e 69 6e 74 | 20 63 6c 65 61 72 28 29 |><TT>int| clear()|
|000007a0| 3c 2f 54 54 3e 20 3c 41 | 20 49 44 3d 22 66 75 6e |</TT> <A| ID="fun|
|000007b0| 5f 63 6c 65 61 72 22 3e | 3c 2f 41 3e 0a 3c 42 52 |_clear">|</A>.<BR|
|000007c0| 3e 20 20 20 20 20 20 20 | 20 3c 54 54 3e 69 6e 74 |> | <TT>int|
|000007d0| 20 77 63 6c 65 61 72 28 | 77 69 6e 29 3c 2f 54 54 | wclear(|win)</TT|
|000007e0| 3e 20 3c 41 20 49 44 3d | 22 66 75 6e 5f 77 63 6c |> <A ID=|"fun_wcl|
|000007f0| 65 61 72 22 3e 3c 2f 41 | 3e 0a 3c 42 52 3e 0a 54 |ear"></A|>.<BR>.T|
|00000800| 68 65 20 73 61 6d 65 20 | 61 73 20 3c 42 3e 65 72 |he same |as <B>er|
|00000810| 61 73 65 28 29 3c 2f 42 | 3e 2c 20 62 75 74 20 77 |ase()</B|>, but w|
|00000820| 69 6c 6c 20 61 6c 73 6f | 20 73 65 74 20 3c 42 3e |ill also| set <B>|
|00000830| 63 6c 65 61 72 6f 6b 28 | 29 3c 2f 42 3e 20 28 74 |clearok(|)</B> (t|
|00000840| 68 65 20 73 63 72 65 65 | 6e 0a 20 20 20 20 20 20 |he scree|n. |
|00000850| 20 20 77 69 6c 6c 20 62 | 65 20 63 6c 65 61 72 65 | will b|e cleare|
|00000860| 64 20 77 69 74 68 20 74 | 68 65 20 6e 65 78 74 20 |d with t|he next |
|00000870| 72 65 66 72 65 73 68 29 | 2e 0a 0a 3c 50 3e 0a 3c |refresh)|...<P>.<|
|00000880| 2f 4c 49 3e 0a 3c 4c 49 | 3e 3c 54 54 3e 69 6e 74 |/LI>.<LI|><TT>int|
|00000890| 20 63 6c 72 74 6f 62 6f | 74 28 29 3c 2f 54 54 3e | clrtobo|t()</TT>|
|000008a0| 20 3c 41 20 49 44 3d 22 | 66 75 6e 5f 63 6c 72 74 | <A ID="|fun_clrt|
|000008b0| 6f 62 6f 74 22 3e 3c 2f | 41 3e 0a 3c 42 52 3e 20 |obot"></|A>.<BR> |
|000008c0| 20 20 20 20 20 20 20 3c | 54 54 3e 69 6e 74 20 77 | <|TT>int w|
|000008d0| 63 6c 72 74 6f 62 6f 74 | 28 77 69 6e 29 3c 2f 54 |clrtobot|(win)</T|
|000008e0| 54 3e 20 3c 41 20 49 44 | 3d 22 66 75 6e 5f 77 63 |T> <A ID|="fun_wc|
|000008f0| 6c 72 74 6f 62 6f 74 22 | 3e 3c 2f 41 3e 0a 3c 42 |lrtobot"|></A>.<B|
|00000900| 52 3e 0a 43 6c 65 61 72 | 69 6e 67 20 74 68 65 20 |R>.Clear|ing the |
|00000910| 63 75 72 72 65 6e 74 20 | 63 75 72 73 6f 72 20 6c |current |cursor l|
|00000920| 69 6e 65 20 28 73 74 61 | 72 74 20 69 73 20 6f 6e |ine (sta|rt is on|
|00000930| 65 20 63 68 61 72 61 63 | 74 65 72 20 72 69 67 68 |e charac|ter righ|
|00000940| 74 20 66 72 6f 6d 20 74 | 68 65 0a 20 20 20 20 20 |t from t|he. |
|00000950| 20 20 20 63 75 72 73 6f | 72 29 20 61 6e 64 20 74 | curso|r) and t|
|00000960| 68 65 20 6c 69 6e 65 20 | 62 65 6c 6f 77 20 74 68 |he line |below th|
|00000970| 65 20 63 75 72 73 6f 72 | 2e 0a 0a 3c 50 3e 0a 3c |e cursor|...<P>.<|
|00000980| 2f 4c 49 3e 0a 3c 4c 49 | 3e 3c 54 54 3e 69 6e 74 |/LI>.<LI|><TT>int|
|00000990| 20 63 6c 72 74 6f 65 6f | 6c 28 29 3c 2f 54 54 3e | clrtoeo|l()</TT>|
|000009a0| 20 3c 41 20 49 44 3d 22 | 66 75 6e 5f 63 6c 72 74 | <A ID="|fun_clrt|
|000009b0| 6f 65 6f 6c 22 3e 3c 2f | 41 3e 0a 3c 42 52 3e 20 |oeol"></|A>.<BR> |
|000009c0| 20 20 20 20 20 20 20 3c | 54 54 3e 69 6e 74 20 77 | <|TT>int w|
|000009d0| 63 6c 72 74 6f 65 6f 6c | 28 77 69 6e 29 3c 2f 54 |clrtoeol|(win)</T|
|000009e0| 54 3e 20 3c 41 20 49 44 | 3d 22 66 75 6e 5f 77 63 |T> <A ID|="fun_wc|
|000009f0| 6c 72 74 6f 65 6f 6c 22 | 3e 3c 2f 41 3e 0a 3c 42 |lrtoeol"|></A>.<B|
|00000a00| 52 3e 0a 43 6c 65 61 72 | 20 74 68 65 20 63 75 72 |R>.Clear| the cur|
|00000a10| 72 65 6e 74 20 6c 69 6e | 65 20 72 69 67 68 74 20 |rent lin|e right |
|00000a20| 66 72 6f 6d 20 74 68 65 | 20 63 75 72 73 6f 72 20 |from the| cursor |
|00000a30| 75 70 20 74 6f 20 69 74 | 73 20 65 6e 64 2e 0a 3c |up to it|s end..<|
|00000a40| 2f 4c 49 3e 0a 3c 2f 55 | 4c 3e 0a 0a 3c 50 3e 0a |/LI>.</U|L>..<P>.|
|00000a50| 0a 3c 48 52 3e 0a 0a 3c | 2f 42 4f 44 59 3e 0a 3c |.<HR>..<|/BODY>.<|
|00000a60| 2f 48 54 4d 4c 3e 0a | |/HTML>. | |
+--------+-------------------------+-------------------------+--------+--------+